#ifndef _EMUNET_H_
#define _EMUNET_H_
#include <rtthread.h>
#include <stdint.h>

#define EMUNET_ADDR_LEN 6
#define EMUNET_MTU 1500


typedef struct {
    uint8_t ip[32];
    uint8_t dns[32];
    uint8_t gateway[6];
}eth_data_t;

typedef struct {

    uint8_t name[32];
    uint8_t passward[32];
}wifi_data_t;

typedef struct {
    uint8_t name[32];
    uint8_t passward[32];
}g4_data_t;

int emu_set_ethInfo(eth_data_t* data);
int emu_set_wifiInfo(wifi_data_t* data);
int emu_set_4gInfo(g4_data_t* data);
#endif